package com.ctgu.j08.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctgu.j08.vo.Factory;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface FactoryMapper extends BaseMapper<Factory> {
    int deleteByPrimaryKey(Integer facId);

    int insert(Factory record);

    int insertSelective(Factory record);

    Factory selectByPrimaryKey(Integer facId);

    int updateByPrimaryKeySelective(Factory record);

    int updateByPrimaryKey(Factory record);

    Factory selectByfacName(String facName);

    List<Factory> getAllFactoryInfo();
}